package com.fiona.example.vo;

public class UserInfo {

	public String name;
	public int sex;
	public String phone;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		switch (sex) {
		case 0:
			return "girl";
		case 1:
			return "boy";
		default:
			return "";
		}
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
